package com.aliyun.oss.pojo.Vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class FoodVO {

    private Integer id;
    private String name;
    private String image;
    private String categoryName;
    private BigDecimal price;
    private Integer status;
    private LocalDateTime updateTime;


    public FoodVO(String name, String image, String categoryName, BigDecimal price, Integer status, LocalDateTime updateTime) {
        this.name = name;
        this.image = image;
        this.categoryName = categoryName;
        this.price = price;
        this.status = status;
        this.updateTime = updateTime;
    }

    public FoodVO() {
    }

    @Override
    public String toString() {
        return "FoodVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", updateTime=" + updateTime +
                '}';
    }

    public FoodVO(Integer id, String name, String image, String categoryName, BigDecimal price, Integer status, LocalDateTime updateTime) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.categoryName = categoryName;
        this.price = price;
        this.status = status;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
